.image-preview {
    display: block;
    position: relative;
    max-width: 300px;
}

.image-preview__preview {
    background: #fafafa no-repeat center center;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075);
    background-size: cover;
    cursor: pointer;
    border: 1px solid #ddd;
}

.image-preview__trigger-button, .image-preview__remove-button {
    font-size: 12px;
    position: absolute;
    line-height: 22px;
    text-align: center;
    height: 22px;
    width: 22px;
    background: #fff;
    color: #555;
    border-radius: 50%;
    cursor: pointer;
}

.image-preview__trigger-button {
    bottom: 8px;
    right: 8px;
}

.image-preview__remove-button {
    top: 8px;
    right: 8px;
    background: #c65028;
    color: #fff;
}

.image-preview__buttons {
    display: flex;
    justify-content: flex-start;
    flex-flow: row wrap;
}
